package com.you.learning.springcloud.order;

import com.you.learning.springcloud.order.config.DruidDataSourceConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@Import(DruidDataSourceConfig.class) //若通过druid-spring-boot-starter自动装配方式导入，不用import druid数据源
public class OrderApplication {
    public static void main(String[] args) {
        //启动方法
        SpringApplication.run(OrderApplication.class, args);
    }
}

